'use strict';
 const db = uniCloud.database();
exports.main = async (event, context) => {
  //event为客户端上传的参数
  const collection = db.collection('products');
  let _id=event._id;
	let msg=await collection.doc(_id).get();
    
  return {"status":2, "msg":msg.data[0]}
};
